# $Id: PKGBUILD 66225 2012-02-23 05:01:23Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=mimetex
pkgver=1.70
pkgrel=3
pkgdesc="tex to gif converter"
arch=(i686 x86_64)
url="http://www.forkosh.com/mimetex.html"
license=('GPL')
depends=()
source=(ftp://ftp.archlinux.org/other/community/mimetex/mimetex.zip)
md5sums=('c73b1dde70526edb137daaf72189024b')

build() {
  cd $srcdir
  gcc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi
  install -D -m0755 mimetex.cgi $pkgdir/usr/bin/mimetex.cgi
}
